/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package enteties.article;

import java.util.Collection;
import java.util.List;
import javax.ejb.Local;
import util.article.PriceDetails;

/**
 *
 * @author Joris
 */
@Local
public interface PriceFacadeLocal {

    void create(Price price);

    void edit(Price price);

    void remove(Price price);

    Price find(Object id);

    List<Price> findAll();

    List<Price> findRange(int[] range);

    int count();

    public Price createPrice(PriceDetails pd, Article a, Size1 size, Model m, Priceclass pc);

    public PriceDetails convert(Price p);

    public Collection<PriceDetails> convert(Collection<Price> prices);
    
}
